using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace au.Swindles.CustomerEnquiryService.ObjectLayer
{
    public class Customer
    {
        private int _customerID = 0;
        private string _customerName = string.Empty;
        private string _customerNumber = string.Empty;
        private int _creditRating = 0;
        private string _reason = string.Empty;
        private string _password = string.Empty;
        private string _email = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public Customer()
		{
			
		}
        public Customer(int pCustomerID, string pCustomerName, string pCustomerNumber, int pCreditRating, string pReason, string pPassword, string pEmail)
        {
            _customerID = pCustomerID;
            _customerNumber = pCustomerNumber;
            _customerName = pCustomerName;
            _creditRating = pCreditRating;
            _reason = pReason;
            _password = pPassword;
            _email = pEmail;
        }

        /// </summary>
        
        public int CusomerID
        {
            get { return _customerID; }
            set { _customerID = value; }
        }

        public string CustomerName
        {
            get {return _customerName;}
            set { _customerName = value; }
        }

        public string CustomerNumber
        {
            get { return _customerNumber; }
            set { _customerNumber = value; }
        }

        public int CreditRating
        {
            get { return _creditRating; }
            set { _creditRating = value; }
        }

        public string Reason
        {
            get { return _reason; }
            set { _reason = value; }
        }

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
     
    }
}
